﻿using Microsoft.Practices.EnterpriseLibrary.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SBB.Services.SFTP.Server
{
    public class MSLogger
    {
        public MSLogger()
        {
            Logger.SetLogWriter(new LogWriterFactory().Create(), false);
        }
        public void Debug(string message)
        {
            Logger.Write(message, "Debug");
        }

        public void Error(string message)
        {
            Logger.Write(message, "Error");
        }
    }
}
